package com.blockchain.console.service.financial;

import com.blockchain.console.service.financial.entity.Ptzjgl;
import com.blockchain.console.service.financial.entity.PtzjglRecord;
import com.blockchain.console.service.financial.entity.TtQbEntity;
import com.blockchain.console.service.financial.query.PtzjglRecordQuery;
import com.blockchain.framework.service.Service;
import com.blockchain.framework.service.query.Paging;
import com.blockchain.framework.service.query.PagingResult;

public interface PtzjManage extends Service {

	/**
	 * <dt>
	 * <dl>
	 * 描述：平台资金统计记录
	 * </dl>
	 * </dt>
	 * 
	 * @return platformFund 平台资金对象
	 * @throws Throwable
	 */
	public Ptzjgl getPlatFormFundInfo() throws Throwable;

	/**
	 * <dt>
	 * <dl>
	 * 描述： 查询平台资金列表
	 * </dl>
	 * </dt>
	 * 
	 * @param query
	 *            平台资金查询接口
	 * @param page
	 *            分页对象
	 * @return PagingResult<UserFundRecord> 平台资金分页集合
	 * @throws Throwable
	 */
	public PagingResult<PtzjglRecord> search(PtzjglRecordQuery query,
			Paging paging) throws Throwable;


	/**
	 * 描述： 查询平台虚拟币资产
	 * 
	 */
	public PagingResult<Ptzjgl> searchXlb(int bid,
			Paging paging) throws Throwable;

	/**
	 * 描述： 不含机器人
	 * 
	 */
	public PagingResult<Ptzjgl> searchXlbSy(int bid,
			Paging paging) throws Throwable;
	
	/**
	 * 描述： 查询平台虚拟币资产交易记录
	 * 
	 */
	public PagingResult<PtzjglRecord> searchJyjl(int bid,PtzjglRecordQuery query,
			Paging paging) throws Throwable;


	/**
	 * 描述： 查询平台虚拟币钱包信息
	 * 
	 */
	public PagingResult<TtQbEntity> searchPtqb(Paging paging) throws Throwable;
	
	/**
	 * 描述： 添加平台虚拟币钱包
	 * 
	 */
	public void addQb(int bid,String qbdz,String sy,String ip,String prot,String username,String password) throws Throwable;
}
